From dfc313520bca6e7b334bd485b58c17cc083f2650 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Sat, 13 Aug 2005 21:28:01 +0000 Subject: [PATCH] add initial video4linux support (for usb webcams) SVN-Revision: 1649 --- openwrt/target/linux/Config.in | 8 ++++ openwrt/target/linux/control/kmod-pwc.control | 6 +++ .../linux/control/kmod-videodev.control | 6 +++ openwrt/target/linux/linux-2.4/Makefile | 6 +++ openwrt/target/linux/linux-2.4/config/brcm | 40 ++++++++++++++++++- 5 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 openwrt/target/linux/control/kmod-pwc.control create mode 100644 openwrt/target/linux/control/kmod-videodev.control diff --git a/openwrt/target/linux/Config.in b/openwrt/target/linux/Config.in index b3ed995410..14bf78db45 100644 --- a/openwrt/target/linux/Config.in +++ b/openwrt/target/linux/Config.in @@ -246,4 +246,12 @@ config BR2_PACKAGE_KMOD_SCHED help Kernel schedulers for IP traffic +config BR2_PACKAGE_KMOD_VIDEODEV + tristate "Video (For Linux) kernel support" + default m + +config BR2_PACKAGE_KMOD_PWC + tristate "Kernel driver for USB Philips Cameras" + default m + source "target/linux/package/Config.in" diff --git a/openwrt/target/linux/control/kmod-pwc.control b/openwrt/target/linux/control/kmod-pwc.control new file mode 100644 index 0000000000..ecd5485b44 --- /dev/null +++ b/openwrt/target/linux/control/kmod-pwc.control @@ -0,0 +1,6 @@ +Package: kmod-pwc +Priority: optional +Section: sys +Maintainer: Nicolas Thill +Source: http://openwrt.org/cgi-bin/viewcvs.cgi/openwrt/target/linux/linux-2.4/ +Description: Kernel driver for USB Philips Cameras diff --git a/openwrt/target/linux/control/kmod-videodev.control b/openwrt/target/linux/control/kmod-videodev.control new file mode 100644 index 0000000000..c8526835c4 --- /dev/null +++ b/openwrt/target/linux/control/kmod-videodev.control @@ -0,0 +1,6 @@ +Package: kmod-videodev +Priority: optional +Section: sys +Maintainer: Nicolas Thill +Source: http://openwrt.org/cgi-bin/viewcvs.cgi/openwrt/target/linux/linux-2.4/ +Description: Video For Linux kernel support diff --git a/openwrt/target/linux/linux-2.4/Makefile b/openwrt/target/linux/linux-2.4/Makefile index 3470b0106a..5a718a260c 100644 --- a/openwrt/target/linux/linux-2.4/Makefile +++ b/openwrt/target/linux/linux-2.4/Makefile @@ -148,6 +148,12 @@ $(eval $(call KMOD_template,GRE,gre,\ $(eval $(call KMOD_template,SCHED,sched,\ $(MODULES_DIR)/kernel/net/sched/*.o \ )) +$(eval $(call KMOD_template,VIDEODEV,videodev,\ + $(MODULES_DIR)/kernel/drivers/media/video/videodev.o \ +)) +$(eval $(call KMOD_template,PWC,pwc,\ + $(MODULES_DIR)/kernel/drivers/usb/pwc.o \ +)) $(TARGETS): $(PACKAGE_DIR) diff --git a/openwrt/target/linux/linux-2.4/config/brcm b/openwrt/target/linux/linux-2.4/config/brcm index d28a824e92..dfa37d37ac 100644 --- a/openwrt/target/linux/linux-2.4/config/brcm +++ b/openwrt/target/linux/linux-2.4/config/brcm @@ -1071,7 +1071,35 @@ CONFIG_NLS_DEFAULT="iso8859-1" # # Multimedia devices # -# CONFIG_VIDEO_DEV is not set +CONFIG_VIDEO_DEV=m + +# +# Video For Linux +# +CONFIG_VIDEO_PROC_FS=y +# CONFIG_I2C_PARPORT is not set +# CONFIG_VIDEO_BT848 is not set +# CONFIG_VIDEO_PMS is not set +# CONFIG_VIDEO_BWQCAM is not set +# CONFIG_VIDEO_CQCAM is not set +# CONFIG_VIDEO_CPIA is not set +# CONFIG_VIDEO_SAA5249 is not set +# CONFIG_TUNER_3036 is not set +# CONFIG_VIDEO_STRADIS is not set +# CONFIG_VIDEO_ZORAN is not set +# CONFIG_VIDEO_ZORAN_BUZ is not set +# CONFIG_VIDEO_ZORAN_DC10 is not set +# CONFIG_VIDEO_ZORAN_LML33 is not set +# CONFIG_VIDEO_ZR36120 is not set +# CONFIG_VIDEO_MEYE is not set + +# +# Radio Adapters +# +# CONFIG_RADIO_GEMTEK_PCI is not set +# CONFIG_RADIO_MAXIRADIO is not set +# CONFIG_RADIO_MAESTRO is not set +# CONFIG_RADIO_MIROPCM20 is not set # # Sound @@ -1119,6 +1147,16 @@ CONFIG_USB_PRINTER=m # CONFIG_USB_SCANNER is not set # CONFIG_USB_MICROTEK is not set # CONFIG_USB_HPUSBSCSI is not set +# CONFIG_USB_IBMCAM is not set +# CONFIG_USB_KONICAWC is not set +# CONFIG_USB_OV511 is not set +CONFIG_USB_PWC=m +# CONFIG_USB_SE401 is not set +# CONFIG_USB_STV680 is not set +# CONFIG_USB_W9968CF is not set +# CONFIG_USB_VICAM is not set +# CONFIG_USB_DSBR is not set +# CONFIG_USB_DABUSB is not set # CONFIG_USB_PEGASUS is not set # CONFIG_USB_RTL8150 is not set # CONFIG_USB_KAWETH is not set -- 2.30.2